package com.gaga.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gaga.pojo.SysUser;

import java.util.List;

public interface UserService extends IService<SysUser> {

    SysUser login(String usrName,String usrPassword);

    void addUser(SysUser sysUser);

    int deleteUser(Long usrId);

    int updateUser(SysUser sysUser);

    SysUser getUser(Long usrId);

    List<SysUser> findAllUsers();
}
